Integrand size = 25, antiderivative size = 579 \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}-\frac {\sqrt {3} b^{4/3} \arctan \left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{2 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\sqrt {3} b^{4/3} \arctan \left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{2 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{\left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {b^{4/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}} \]
[Out]
Time = 1.07 (sec) , antiderivative size = 579, normalized size of antiderivative = 1.00, number of steps used = 17, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.480, Rules used = {3593, 771, 440, 455, 53, 65, 302, 648, 632, 210, 642, 214} \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\frac {\tan (e+f x) \sqrt [6]{\sec ^2(e+f x)} \operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right )}{a f \sqrt [3]{d \sec (e+f x)}}-\frac {\sqrt {3} b^{4/3} \sqrt [6]{\sec ^2(e+f x)} \arctan \left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right )}{2 f \left (a^2+b^2\right )^{7/6} \sqrt [3]{d \sec (e+f x)}}+\frac {\sqrt {3} b^{4/3} \sqrt [6]{\sec ^2(e+f x)} \arctan \left (\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}+\frac {1}{\sqrt {3}}\right )}{2 f \left (a^2+b^2\right )^{7/6} \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \sqrt [6]{\sec ^2(e+f x)} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right )}{f \left (a^2+b^2\right )^{7/6} \sqrt [3]{d \sec (e+f x)}}+\frac {3 b}{f \left (a^2+b^2\right ) \sqrt [3]{d \sec (e+f x)}}+\frac {b^{4/3} \sqrt [6]{\sec ^2(e+f x)} \log \left (-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+\sqrt [3]{a^2+b^2}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right )}{4 f \left (a^2+b^2\right )^{7/6} \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \sqrt [6]{\sec ^2(e+f x)} \log \left (\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+\sqrt [3]{a^2+b^2}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right )}{4 f \left (a^2+b^2\right )^{7/6} \sqrt [3]{d \sec (e+f x)}} \]
[In]
[Out]
Rule 53
Rule 65
Rule 210
Rule 214
Rule 302
Rule 440
Rule 455
Rule 632
Rule 642
Rule 648
Rule 771
Rule 3593
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt [6]{\sec ^2(e+f x)} \text {Subst}\left (\int \frac {1}{(a+x) \left (1+\frac {x^2}{b^2}\right )^{7/6}} \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {\sqrt [6]{\sec ^2(e+f x)} \text {Subst}\left (\int \left (\frac {a}{\left (a^2-x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{7/6}}+\frac {x}{\left (-a^2+x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{7/6}}\right ) \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {\sqrt [6]{\sec ^2(e+f x)} \text {Subst}\left (\int \frac {x}{\left (-a^2+x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{7/6}} \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (a \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\left (a^2-x^2\right ) \left (1+\frac {x^2}{b^2}\right )^{7/6}} \, dx,x,b \tan (e+f x)\right )}{b f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}}+\frac {\sqrt [6]{\sec ^2(e+f x)} \text {Subst}\left (\int \frac {1}{\left (-a^2+x\right ) \left (1+\frac {x}{b^2}\right )^{7/6}} \, dx,x,b^2 \tan ^2(e+f x)\right )}{2 b f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (b \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\left (-a^2+x\right ) \sqrt [6]{1+\frac {x}{b^2}}} \, dx,x,b^2 \tan ^2(e+f x)\right )}{2 \left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (3 b^3 \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {x^4}{-a^2-b^2+b^2 x^6} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}}-\frac {\left (b^{5/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {-\frac {1}{2} \sqrt [6]{a^2+b^2}-\frac {\sqrt [3]{b} x}{2}}{\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {\left (b^{5/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {-\frac {1}{2} \sqrt [6]{a^2+b^2}+\frac {\sqrt [3]{b} x}{2}}{\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {\left (b^{5/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a^2+b^2}-b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{\left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (b^{4/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {-\sqrt [3]{b} \sqrt [6]{a^2+b^2}+2 b^{2/3} x}{\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {\left (b^{4/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt [3]{b} \sqrt [6]{a^2+b^2}+2 b^{2/3} x}{\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (3 b^{5/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (3 b^{5/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} x+b^{2/3} x^2} \, dx,x,\sqrt [6]{\sec ^2(e+f x)}\right )}{4 \left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{\left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {b^{4/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}}+\frac {\left (3 b^{4/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right )}{2 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {\left (3 b^{4/3} \sqrt [6]{\sec ^2(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right )}{2 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}} \\ & = \frac {3 b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)}}-\frac {\sqrt {3} b^{4/3} \arctan \left (\frac {1-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}}{\sqrt {3}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{2 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\sqrt {3} b^{4/3} \arctan \left (\frac {1+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}}{\sqrt {3}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{2 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{\left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {b^{4/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {b^{4/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{4 \left (a^2+b^2\right )^{7/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},1,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a f \sqrt [3]{d \sec (e+f x)}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 52.39 (sec) , antiderivative size = 285, normalized size of antiderivative = 0.49 \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=-\frac {60 d \operatorname {AppellF1}\left (\frac {7}{3},\frac {7}{6},\frac {7}{6},\frac {10}{3},\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right ) (a \cos (e+f x)+b \sin (e+f x))}{7 b f (d \sec (e+f x))^{4/3} \left (7 (a+i b) \operatorname {AppellF1}\left (\frac {10}{3},\frac {7}{6},\frac {13}{6},\frac {13}{3},\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right )+7 (a-i b) \operatorname {AppellF1}\left (\frac {10}{3},\frac {13}{6},\frac {7}{6},\frac {13}{3},\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right )+20 \operatorname {AppellF1}\left (\frac {7}{3},\frac {7}{6},\frac {7}{6},\frac {10}{3},\frac {a-i b}{a+b \tan (e+f x)},\frac {a+i b}{a+b \tan (e+f x)}\right ) (a+b \tan (e+f x))\right )} \]
[In]
[Out]
\[\int \frac {1}{\left (d \sec \left (f x +e \right )\right )^{\frac {1}{3}} \left (a +b \tan \left (f x +e \right )\right )}d x\]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\int \frac {1}{\sqrt [3]{d \sec {\left (e + f x \right )}} \left (a + b \tan {\left (e + f x \right )}\right )}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\int { \frac {1}{\left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\int { \frac {1}{\left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))} \, dx=\int \frac {1}{{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{1/3}\,\left (a+b\,\mathrm {tan}\left (e+f\,x\right )\right )} \,d x \]
[In]
[Out]